package nml.mail.reg.smtp;


import nml.mail.reg.Reg;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class  x51uc_com extends Reg{

	public void reg(String username, String password) {		
		

		String url = "http://im.sina.com.cn/reg_uc.php";
		get(url);
		
		dr.findElement(By.name("shortname")).sendKeys(username);
		dr.findElement(By.name("user.password")).sendKeys(password);
		dr.findElement(By.name("password2")).sendKeys(password);
		
 	
		dr.findElement(By.name("validate")).click();
		
		System.out.println(username+"@sogou.com");
		
	}

	public static void main(String[] args) {
		new x51uc_com().reg("qq331798654", "qq3131798654");
	}
	
	
}
